RWTH - Mindstorms NXT Toolbox

NXT_StopSoundPlayback

Stops the current sound playback

Contents

Syntax

NXT_StopSoundPlayback()

NXT_StopSoundPlayback(handle)

Description

NXT_StopSoundPlayback() stops the current sound playback.

NXT_StopSoundPlayback(handle) sends the stop sound playback command over the specific Bluetooth handle (serial handle (PC) / file handle (Linux)).

If no NXT handle is specified the default one (COM_GetDefaultNXT) is used.

For more details see the official LEGO Mindstorms communication protocol.

Examples

   NXT_StopSoundPlayback();
   handle = COM_OpenNXT('bluetooth.ini','check');
   NXT_StopSoundPlayback(handle);

See also

NXT_PlaySoundFile, NXT_PlayTone, COM_GetDefaultNXT

Signature